from app import db

class Contactlist(db.Document):
    id = db.IntField(primary_key=True)
    name = db.StringField()
    tel  = db.StringField()

    meta = {
        'collection': 'contacts',
        'strict': False
    }


    def __repr__(self):
        return '<Contactlist %r>' % self.name